package com.atguigu.gmall.product;

import com.atguigu.gmall.common.config.minio.annotation.EnableMinIo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan(basePackages = "com.atguigu.gmall.product.mapper")
@SpringCloudApplication
@EnableTransactionManagement
@EnableMinIo
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.search")
public class ServiceProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceProductApplication.class,args);
    }
}

